<!DOCTYPE html>
<style>
.taskContainer{
	
}
.tips{
	margin: 10px 0 20px;
}
.taskContainer .item{
	width: 150px;
	padding: 10px;
	margin: 10px auto;
	text-align: center;
	border: 2px solid #BBB;
	cursor: pointer;
}
</style>
<div ng-controller="guiderManagementCtrl">
	<div class="well">

		<div class="formContainer">
			<div class="form-horizontal">
				<div class="form-group">
					<div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">分公司</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.filialeName"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">专卖店</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.shopName"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">城市</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.city" />
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" >
			            <div class="form-group">
			                <label class="col-sm-4 control-label">小区名称</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.houseName"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4" >
			            <div class="form-group">
			                <label class="col-sm-4 control-label">导购</label>
			                <div class="col-sm-8">
			                	<input type="text" class="form-control" ng-model="search.sellerName" />
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">收房时间(始)</label>
			                <div class="col-sm-8">
			                	<input type="text" id="getRoomTime"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">收房时间(止)</label>
			                <div class="col-sm-8">
			                	<input type="text" id="getRoomTime1"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">扫楼时间(始)</label>
			                <div class="col-sm-8">
			                	<input type="text" id="optTime"/>
			                </div>
			            </div>
			        </div>
			        <div class="form-horizontal col-sm-4">
			            <div class="form-group">
			                <label class="col-sm-4 control-label">扫楼时间(止)</label>
			                <div class="col-sm-8">
			                	<input type="text" id="optTime1"/>
			                </div>
			            </div>
			        </div>

			       <div class="buttons-wrap clearBoth">
						<button class="k-button k-state-default" ng-click="search()">查询</button>
					</div>
				</div>
			</div>
		</div>
		
		<div id="operateButtonGroup" class="operateContainer">
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',true)">全选</button>
			<button class="k-button k-state-default" ng-click="chooseAll('recordClass',false)">取消</button>
			<button class="k-button k-state-default" ng-click="downloadTableData(1)">筛选导出</button>
			<button class="k-button k-state-default" ng-click="downloadTableData(2)">选中导出</button>
 		    <span ng-show="addVillages_show">
				<button class="k-button k-state-default" ng-click="addVillages()">导入小区列表</button>
			</span> 
		</div>
	
		<div class="tableList">
			<div kendo-grid="grid" k-options="gridOptions"></div>
		</div>
	</div>
	
	<div kendo-window="villageWindow" k-title="'导入小区列表'" k-width="800" k-min-height="450" k-visible="false" k-modal="true">
		<div class="windowForm col-sm-12">
				<div class="form-horizontal">
	          			<div class="form-group">
	               		<label class="col-sm-2 control-label"">分配分公司</label>
	               		<div class="col-sm-2">
		                	<input id="province"/>
		                </div>
		                <div class="col-sm-2">
		                	<input id="city"/>
		                </div>
		                <div class="col-sm-2">
		                	<input id="area"/>
		                </div>
	                </div>
	              	<div class="form-horizontal">
	              	<div class="form-group">
	              	<div  class="col-sm-12">
	               		<label class="col-sm-2 control-label" >分公司名称</label>
	               		<div class="col-sm-5">
		                	<input type="text" class="form-control" id="userShop"/>
		                </div>
	              	</div>
	              	</div>
			<div ng-show="!uploadInfo_show">
			<div class="form-group col-sm-12">
				<div class="tips col-sm-10">请按模板填写后，另存为【Excel97-2003工作簿(.xls)】文件，点击“请选择文件”按钮上传！</div>
				<div class="col-sm-5">
					<input type="file"  id="excelFile"/>
				</div>
			</div>
			  
			    <div class="buttons-wrap clearBoth">
					<button class="k-button k-state-default" ng-click="addGuiderToServer()" >确定</button>
					<input type="hidden" id="method" value="">
				</div>
				</div>
			</div>
		</div>
	</div>
	<div kendo-window="BiotopeInfoWindow" k-title="'小区数据信息'" k-width="800" k-min-height="450" k-visible="false" k-modal="true">
			<div class="windowForm col-sm-12">
			<div  ng-show="info_show">
			   <div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">楼盘名称</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control"  style="display: none;" ng-model="form1.id"/>
			             	<input type="text" class="form-control hiddenInput " ng-model="form1.houseName"/>
			             </div>
			         </div>
			    </div>
			   	<div class="form-horizontal col-sm-5" >
			         <div class="form-group">
			             <label class="col-sm-3 control-label">城市</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.city"/>
			             </div>
			         </div>
			    </div>
			   	<div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">地区</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.area"/>
			             </div>
			         </div>
			    </div>
			   	<div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">商圈</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.businessArea"/>
			             </div>
			         </div>
			    </div>
			   	<div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">楼盘类型</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.houseType"/>
			             </div>
			         </div>
			    </div>
			    <div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">收房时间</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.getRoomTime"/>
			             </div>
			         </div>
			    </div>
			    <div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">扫楼时间</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.optTime"/>
			             </div>
			         </div>
			    </div>
			      <div class="form-horizontal col-sm-5">
			         <div class="form-group">
			             <label class="col-sm-3 control-label">备注</label>
			             <div class="col-sm-6">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.remark"/>
			             </div>
			         </div>
			    </div>
			    <div class="form-horizontal col-sm-10 clearBoth">
			             <label class="col-sm-2 control-label">地址</label>
			             <div class="col-sm-8">
			             	<input type="text" class="form-control hiddenInput" ng-model="form1.address"/>
			             </div>
			    </div>
			    </div>
			    <div ng-show="filiale_show">
			    	<div class="form-horizontal col-sm-12 clearBoth" style="margin-right: -10px;margin-left: -10px; padding: 0;margin-top: 10px;margin-bottom: 10px;">
			               		<label class="col-sm-2 control-label" style="margin-top: 10px;margin-bottom: 10px;">所属分公司</label>
			               		<div class="col-sm-2 " style="margin-top: 10px;margin-bottom: 10px;">
				                	<input id="province2"/>
				                </div>
				                <div class="col-sm-2"  style="margin-left: 15px; margin-top: 10px;margin-bottom: 10px">
				                	<input id="city2"/>
				                </div>
				                <div class="col-sm-2" style="margin-left: 15px;margin-top: 10px;margin-bottom: 10px">
				                	<input id="area2"/>
				                </div>
	              	</div>	                	
	              	<div class="form-horizontal clearBoth" style="margin-right: -10px;margin-left: -10px; padding: 0;margin-top: 10px;margin-bottom: 10px;" >
	              	<div class="form-group">
		               		<label class="col-sm-2 control-label" >分公司名称</label>
		               		<div class="col-sm-4">
			                	<input type="text" class="form-control" id="filiale1"/>
			                </div>
			             </div>
	              	</div>
			    </div>
			    <div ng-show="shopBelong_show">
				    <div class="form-horizontal clearBoth" >
				         <div class="form-group">
				             <label class="col-sm-2 control-label"  style="margin-top: 10px;">所属专卖店</label>
				             <div class="col-sm-4">
				             	<input type="text" class="form-control" id="belongStore" style="margin-top: 10px;"/>
				             </div>
				         </div>
				    </div>
			     </div>
		     
			    <div class="form-horizontal clearBoth">
			         <div class="form-group">
			             <label class="col-sm-2 control-label">导购姓名</label>
			             <div class="col-sm-4">
			             	<input type="text" class="form-control"  id="seller"/>
			             </div>
			         </div>
			    </div>
			    
			  
		    <div class="buttons-wrap clearBoth">
				<button class="k-button k-state-default" ng-click="updateBiotopeInfo()" >确定</button>
			</div>
	</div>
	</div>
	
